home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / softwareupdate / system / serialprefs71.lha / serialprefs_2.71 / Install_Eng < prev    next >
Text File  |  1997-05-04  |  2KB  |  112 lines

  1. ;
  2. ;$VER: 1.0 SerialPrefs Installer (C) 1997 by Lorenzo Succi.
  3. ;
  4.  
  5. (welcome "Welcome to the SerialPrefs Installer v1.01")
  6. (set @app-name "SPInstall")
  7. (set #DESTDIR "SYS:Prefs")
  8.  
  9. (set #DESTLIB "Libs:")
  10. (set #DEFICON 0)
  11. (set #GETICON 0)
  12. (set #DEFLIB 0)
  13.  
  14.  
  15. (message "\n\nWelcome to the SerialPrefs Installer\n"
  16.          "(c) 1996-97 Lorenzo Succi.\n\n"
  17.          "This program install the SerialPrefs 2.7.1"
  18.          " in your computer.\n"
  19.          "SerialPrefs enhance the control and the power\n"
  20.          "of your serial.device.\n"
  21.                  "Read the documentation for more informations.\n\n"
  22.  
  23. )
  24.  
  25. (set #DESTDIR
  26.     (askdir
  27.         (prompt "Select the drawer where do you want to install SerialPrefs\n"
  28.         )
  29.         (help @askdir-help)
  30.         (default #DESTDIR)
  31.     )
  32. )
  33. (set @default-dest #DESTDIR)
  34.  
  35. (set #GETICON
  36.     (askchoice
  37.         (prompt "Select the icon type for SerialPrefs.\n"
  38.                 
  39.         )
  40.         (help @askchoice-help)
  41.         (choices "Normal"
  42.              "Magic Wb"
  43.              "Newicon"
  44.         (default #DEFICON)
  45.     )
  46. )
  47.  
  48. )
  49.  
  50.  
  51.  
  52. (copyfiles
  53.     (prompt "Copying Gui.library")
  54.     (help @copyfiles-help)
  55.     (source "libs/Gui.library")
  56.     (dest #DESTLIB)
  57.     (noposition)
  58.     (optional fail force)
  59. )
  60.  
  61.  
  62. (copyfiles
  63.     (prompt "Copying SerialPrefs")
  64.     (help @copyfiles-help)
  65.     (source "bin/SerialPrefs")
  66.     (dest #DESTDIR)
  67.     (noposition)
  68.     (optional fail force)
  69. )
  70.  
  71.  
  72.  
  73. (if (= #GETICON 0)
  74. (copyfiles
  75.     (prompt "Copying default icon")
  76.     (help @copyfiles-help)
  77.     (source "icons/NN")
  78.     (newname "SerialPrefs.info")
  79.     (dest #DESTDIR)
  80.     (noposition)
  81.     (optional fail force)
  82. )
  83.  
  84. endif)
  85.  
  86. (if (= #GETICON 1)
  87. (copyfiles
  88.     (prompt "Copying MagicWb icon")
  89.     (help @copyfiles-help)
  90.     (source "icons/MWB")
  91.     (newname "SerialPrefs.info")
  92.     (dest #DESTDIR)
  93.     (noposition)
  94.     (optional fail force)
  95. )
  96.  
  97. endif)
  98.  
  99. (if (= #GETICON 2)
  100. (copyfiles
  101.     (prompt "Copying Newicon icon")
  102.     (help @copyfiles-help)
  103.     (source "icons/NI")
  104.     (newname "SerialPrefs.info")
  105.     (dest #DESTDIR)
  106.     (noposition)
  107.     (optional fail force)
  108. )
  109.  
  110. endif)
  111.  
  112.